<?php
class Tree2Widget extends Widget {
    public function invoke($data){
        $this->assign('currTree', $data['currTree']);
        $this->display();
    }
}
